package com.kung.qvs.ui.login;

import android.app.Application;

import androidx.annotation.NonNull;

import com.kung.qvs.data.JtRepository;

import me.goldze.mvvmhabit.base.BaseViewModel;

public class SplashViewModel extends BaseViewModel<JtRepository> {
    public SplashViewModel(@NonNull Application application) {
        super(application);
    }

    public SplashViewModel(@NonNull Application application, JtRepository model) {
        super(application, model);
    }

    public boolean doGetLoginState() {
        return model.getLoginState();
    }

    public boolean doGetKeepPwd() {
        return model.getKeepPwd();
    }

    public String doGetLoginType() {
        return model.getLoginType();
    }
}
